interface ResponseDetailsTest extends InResponseDetails {
  test?: string;
}

/**
 * 异步创建服务配置的自定义 Hook。
 *
 * @returns 无返回值。
 */
export const useCreateServiceConfig = async () => {
  const { preference } = useColorMode();
  onBeforeMount(() => { console.log(preference) });
  const data = await getAsyncDataFunction<ResponseDetailsTest>({
    method: "post", url: "/api/v1/test"
  }).useAsyncData("test");

};
